﻿using Swimj.ApplicationLib.Entities;

namespace Admin.ApplicationLib.Entities
{
    public class PermissionEntity : AuditableEntity
    {
        public Guid Id { get; set; }

        public string? Name { get; set; }

        public string? Code { get; set; }

        public Guid? ParentId { get; set; }

        public string? Type { get; set; }

        public string? Uri { get; set; }

        public string? Icon { get; set; }

        public int Sort { get; set; }

        public string? Description { get; set; }

        public int Level { get; set; }

        // public PermissionEntity? ParentPermission { get; set; }
    }
}